﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x0200009C RID: 156
	internal class FixNegativeInt32 : IInt32Decoder
	{
		// Token: 0x06000285 RID: 645 RVA: 0x0000B673 File Offset: 0x00009A73
		private FixNegativeInt32()
		{
		}

		// Token: 0x06000286 RID: 646 RVA: 0x0000B67B File Offset: 0x00009A7B
		public int Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 1;
			return (int)((sbyte)bytes[offset]);
		}

		// Token: 0x040000BE RID: 190
		internal static readonly IInt32Decoder Instance = new FixNegativeInt32();
	}
}
